<template>
    <div>
        <div>
            <el-steps :active="active" finish-status="success">
                <el-step title="活动信息"></el-step>
                <el-step title="添加活动商品"></el-step>
                <el-step title="创建成功"></el-step>
            </el-steps>
        </div>
    </div>
</template>
<script>
export default {
    data() {
        return {
            active: 0
        };
    },

    methods: {
        next() {
            if (this.active++ > 2) this.active = 0;
        }
    }
}
</script>